//
//  XAIGateway.h
//  YSSmartHome
//
//  Created by Yahaong on 16/8/25.
//  Copyright © 2016年 yahaong. All rights reserved.
//

#import "ZTDevice.h"

@interface XAIGateway : ZTDevice
@property (nonatomic, assign)uint8_t linkID;
@property (nonatomic, assign)BOOL pushActive;

- (void)binding:(XAITYPEAPSN)aps extraInfo:(NSString * __nullable)info;
- (void)bindSharedGateway:(XAITYPEAPSN )apsn num:(uint32_t)num;
- (void)sendShredInfo:(uint32_t)num;
- (void)reciveStatus:(uint32_t)gatewayApsn
          deviceLuid:(uint64_t )deviceLuid
         triggerApsn:( uint32_t)triggerApsn
         triggerLuid:(uint64_t)triggerLuid
           timestamp:(uint32_t)timestamp
            statusID:(uint8_t)statusID
                data:(XAITLV*__nonnull)data;
- (void)modifyGateName:(NSString * __nullable)name;
- (void)bindingExtraInfo:(NSString * __nullable)info;
- (void)unbind;
- (void)getGatewayStatus;
- (void)unsubscribeGatewayStatus;

@end
